sap.ui.define([
    "sap/ui/core/mvc/Controller",
    "sap/ui/model/json/JSONModel"
], (Controller, JSONModel) => {
    "use strict";
    return Controller.extend("ui5.walkthrough.controller.InvoiceList", {
        onInit() {
            const oJsonModel = new JSONModel(
                {
                    currency: "EUR"
                }
            );
            this.getView().setModel(oJsonModel);
        }
    });
});
